﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x0200017D RID: 381
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class CancelMarkItemNotify : IMessage<CancelMarkItemNotify>, IMessage, IEquatable<CancelMarkItemNotify>, IDeepCloneable<CancelMarkItemNotify>, IBufferMessage
	{
		// Token: 0x17000508 RID: 1288
		// (get) Token: 0x06001121 RID: 4385 RVA: 0x00031C40 File Offset: 0x0002FE40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<CancelMarkItemNotify> Parser
		{
			get
			{
				return CancelMarkItemNotify._parser;
			}
		}

		// Token: 0x17000509 RID: 1289
		// (get) Token: 0x06001122 RID: 4386 RVA: 0x00031C47 File Offset: 0x0002FE47
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return CancelMarkItemNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x1700050A RID: 1290
		// (get) Token: 0x06001123 RID: 4387 RVA: 0x00031C59 File Offset: 0x0002FE59
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return CancelMarkItemNotify.Descriptor;
			}
		}

		// Token: 0x06001124 RID: 4388 RVA: 0x00031C60 File Offset: 0x0002FE60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelMarkItemNotify()
		{
		}

		// Token: 0x06001125 RID: 4389 RVA: 0x00031C68 File Offset: 0x0002FE68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelMarkItemNotify(CancelMarkItemNotify other) : this()
		{
			this.itemId_ = other.itemId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06001126 RID: 4390 RVA: 0x00031C8D File Offset: 0x0002FE8D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public CancelMarkItemNotify Clone()
		{
			return new CancelMarkItemNotify(this);
		}

		// Token: 0x1700050B RID: 1291
		// (get) Token: 0x06001127 RID: 4391 RVA: 0x00031C95 File Offset: 0x0002FE95
		// (set) Token: 0x06001128 RID: 4392 RVA: 0x00031C9D File Offset: 0x0002FE9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint ItemId
		{
			get
			{
				return this.itemId_;
			}
			set
			{
				this.itemId_ = value;
			}
		}

		// Token: 0x06001129 RID: 4393 RVA: 0x00031CA6 File Offset: 0x0002FEA6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as CancelMarkItemNotify);
		}

		// Token: 0x0600112A RID: 4394 RVA: 0x00031CB4 File Offset: 0x0002FEB4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(CancelMarkItemNotify other)
		{
			return other != null && (other == this || (this.ItemId == other.ItemId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600112B RID: 4395 RVA: 0x00031CE4 File Offset: 0x0002FEE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.ItemId != 0U)
			{
				num ^= this.ItemId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600112C RID: 4396 RVA: 0x00031D23 File Offset: 0x0002FF23
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600112D RID: 4397 RVA: 0x00031D2B File Offset: 0x0002FF2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600112E RID: 4398 RVA: 0x00031D34 File Offset: 0x0002FF34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.ItemId != 0U)
			{
				output.WriteRawTag(8);
				output.WriteUInt32(this.ItemId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600112F RID: 4399 RVA: 0x00031D68 File Offset: 0x0002FF68
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.ItemId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.ItemId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06001130 RID: 4400 RVA: 0x00031DA6 File Offset: 0x0002FFA6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CancelMarkItemNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.ItemId != 0U)
			{
				this.ItemId = other.ItemId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06001131 RID: 4401 RVA: 0x00031DD7 File Offset: 0x0002FFD7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06001132 RID: 4402 RVA: 0x00031DE0 File Offset: 0x0002FFE0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 8U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.ItemId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04000735 RID: 1845
		private static readonly MessageParser<CancelMarkItemNotify> _parser = new MessageParser<CancelMarkItemNotify>(() => new CancelMarkItemNotify());

		// Token: 0x04000736 RID: 1846
		private UnknownFieldSet _unknownFields;

		// Token: 0x04000737 RID: 1847
		public const int ItemIdFieldNumber = 1;

		// Token: 0x04000738 RID: 1848
		private uint itemId_;
	}
}
